package day02;

public class tu3 {
	public static void main(String[] args) {
		int i,j;
		for(i=-2;i<=2;i++)
		{
			
			for(j=-2;j<=2;j++)
			{
			   if((Math.abs(i)+Math.abs(j))>2)
				System.out.print("."+" ");
			   else
				   System.out.print("*"+" ");
			}
			System.out.println(" ");
		}
	}

}
